<?php


namespace app\model;


use think\Model;

class OrdersItem extends Model
{

    protected $name = 'order_item';

    public function orders()
    {
        return $this->belongsTo(Orders::class, 'order_id');
    }

}